var User = /** @class */ (function () {
    function User(firstName, lastName) {
        this.firstName = firstName;
        this.lastName = lastName;
        this.fullName = this.firstName + ' ' + this.lastName;
    }
    return User;
}());
function greeter(p) {
    return "Hello, " + p.firstName + " " + p.lastName;
}
console.log(greeter(new User('张', '五')));
